from overfish.modArticle.models.Article import Article
from django.template.loader import render_to_string

def dashboard(request):
    c = {}
    a = Article()
    c[u"articleCount"] = a.getCollection().count()
    return render_to_string(u"modArticle/dashboard.html", c)